MODULE 'exec/lists',
       'exec/semaphores'

CONST	LAYERSIMPLE=1,
		LAYERSMART=2,
		LAYERSUPER=4,
		LAYERUPDATING=16,
		LAYERBACKDROP=$40,
		LAYERREFRESH=$80,
		LAYERIREFRESH=$200,
		LAYERIREFRESH2=$400,
		LAYER_CLIPRECTS_LOST=$100

OBJECT Layer_Info
	Top_Layer:PTR TO Layer,
	Check_Lp:PTR TO Layer,
	Obs:PTR TO ClipRect,
	FreeClipRects:PTR TO ClipRect,
	privatereserve1:LONG,
	privatereserve2:LONG,
	Lock:SS,
	gs_Head:MLH,
	privatereserve3:INT,
	privatereserve4:LONG,
	Flags:UWORD,
	Fatten_Count:CHAR,
	LockLayersCount:CHAR,
	privatereserve5:INT,
	BlankHook:LONG,
	LayerInfo_Extra:LONG

CONST	NEWLAYERINFO_CALLED=1,
		ALERTLAYERSNOMEM=$83010000,
		LAYERS_NOBACKFILL=1,
		LAYERS_BACKFILL=0
